package com.daisuxia.web.dao;

import java.util.List;
import java.util.Map;

import com.daisuxia.web.pojo.ChannelInfo;
import com.daisuxia.web.pojo.ChannelReport;

public interface IChannelReportDao {
	
	/**
	 * 根据条件查询
	 * 
	 * @param map
	 *            参数名 ： <br>
	 *            参数名 ：
	 * @return list
	 */
	public List<ChannelReport> findAll(Map<String, Object> params);
	
	public List<ChannelReport> findPrAll(Map<String, Object> params);
	
	public List<ChannelReport> findChannelId();
	
	public ChannelReport findChannelById(Integer id);
	
	
	public List<ChannelReport> findChannelIdAll();
	public List<ChannelReport> findChannelIdCount();
	
	public Integer findPrAllCount(Map<String, Object> params);
	public Integer findAllCount(Map<String, Object> params);

	/**
	 * 插入对象
	 * 
	 * @param backUser
	 */
	public void insert(ChannelReport channelReport);

	/**
	 * 根据主键删除对象
	 * 
	 * @param id
	 */
	public void deleteById(Integer id);
	
	public int deleteByChannelReport(ChannelReport channelReport);
	

	/**
	 * 更新对象
	 * 
	 * @param backUser
	 */
	public void updateById(ChannelInfo channelInfo);

	
	public List<Map<String, Object>> findRegisterCount(Map<String, Object> param);
	public List<Map<String, Object>> findRealNameCount(Map<String, Object> param);
	public List<Map<String, Object>> findJXLCount(Map<String, Object> param);
	public List<Map<String, Object>> findZMCount(Map<String, Object> param);
	public List<Map<String, Object>> findContactCount(Map<String, Object> param);
	public List<Map<String, Object>> findCompanyCount(Map<String, Object> param);
	public List<Map<String, Object>> findBankCount(Map<String, Object> param);
	public List<Map<String, Object>> findAlipayCount(Map<String, Object> param);
	public List<Map<String, Object>> findApproveErrorCount(Map<String, Object> param);
	public List<Map<String, Object>> findBorrowApplyCount(Map<String, Object> param);
	public List<Map<String, Object>> findBorrowSucCount(Map<String, Object> param);
	public List<Map<String, Object>> findIntoMoney(Map<String, Object> param);
	public List<Map<String, Object>> findNewIntoMoney(Map<String, Object> param);
	public List<Map<String, Object>> findOldIntoMoney(Map<String, Object> param);
	public List<Map<String, Object>> findBlackUserCount(Map<String, Object> param);
	public List<Map<String, Object>> findlateDayCount(Map<String, Object> param);

	

}
